package com.example.myapplication.kotlinroom

import androidx.room.*

@Dao
interface UserRoomKDao {

    @Insert
    fun insertAll(userRoomK: List<UserRoomK>)

    @Update
    fun upDateOne(userRoomK: UserRoomK)

    @Update
    fun upDateTs(userRoomK: List<UserRoomK>)

    @Query("select * from userK")
    fun queryByAll():List<UserRoomK>

    @Delete
    fun delete(userRoomK: UserRoomK)

}